package com.bjpowernode.service.impl;

import com.bjpowernode.entity.TProduct;
import com.bjpowernode.mapper.TProductMapper;
import com.bjpowernode.service.ProductService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class ProductServiceImpl implements ProductService {

    private final TProductMapper productMapper;

    @Override
    public List<TProduct> getProductList() {
        return productMapper.getProductList();
    }
}
